/*
 * Copyright 2006 Kevin Wetzels 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0 
 *       
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package be.roam.drest.xml.rss;

import java.util.Date;

/**
 * Object reflecting the values of an RSS 2.0 item.
 * 
 * @author Kevin Wetzels
 * @version 1.0
 */
public class Rss20Item {

    private String title;
    
    private String link;
    
    private String description;
    
    private String author;
    
    private String category;
    
    private String categoryDomain;
    
    private String commentsUrl;
    
    private String enclosureUrl;
    
    private String enclosureSizeInBytes;
    
    private String enclosureType;
    
    private String guid;
    
    private boolean guidPermaLink;
    
    private Date datePublication;
    
    private String source;
    
    private String sourceUrl;
    
    /**
     * @return the guidPermaLink
     */
    public boolean isGuidPermaLink() {
        return guidPermaLink;
    }

    /**
     * @param guidPermaLink the guidPermaLink to set
     */
    public void setGuidPermaLink(boolean isGuidPermalink) {
        this.guidPermaLink = isGuidPermalink;
    }

    /**
     * @return the author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * @param author the author to set
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * @return the category
     */
    public String getCategory() {
        return category;
    }

    /**
     * @param category the category to set
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * @return the categoryDomain
     */
    public String getCategoryDomain() {
        return categoryDomain;
    }

    /**
     * @param categoryDomain the categoryDomain to set
     */
    public void setCategoryDomain(String categoryDomain) {
        this.categoryDomain = categoryDomain;
    }

    /**
     * @return the commentsUrl
     */
    public String getCommentsUrl() {
        return commentsUrl;
    }

    /**
     * @param commentsUrl the commentsUrl to set
     */
    public void setCommentsUrl(String commentsUrl) {
        this.commentsUrl = commentsUrl;
    }

    /**
     * @return the datePublication
     */
    public Date getDatePublication() {
        return datePublication;
    }

    /**
     * @param datePublication the datePublication to set
     */
    public void setDatePublication(Date datePublication) {
        this.datePublication = datePublication;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the enclosureSizeInBytes
     */
    public String getEnclosureSizeInBytes() {
        return enclosureSizeInBytes;
    }

    /**
     * @param enclosureSizeInBytes the enclosureSizeInBytes to set
     */
    public void setEnclosureSizeInBytes(String enclosureSizeInBytes) {
        this.enclosureSizeInBytes = enclosureSizeInBytes;
    }

    /**
     * @return the enclosureType
     */
    public String getEnclosureType() {
        return enclosureType;
    }

    /**
     * @param enclosureType the enclosureType to set
     */
    public void setEnclosureType(String enclosureType) {
        this.enclosureType = enclosureType;
    }

    /**
     * @return the enclosureUrl
     */
    public String getEnclosureUrl() {
        return enclosureUrl;
    }

    /**
     * @param enclosureUrl the enclosureUrl to set
     */
    public void setEnclosureUrl(String enclosureUrl) {
        this.enclosureUrl = enclosureUrl;
    }

    /**
     * @return the guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * @param guid the guid to set
     */
    public void setGuid(String guid) {
        this.guid = guid;
    }

    /**
     * @return the link
     */
    public String getLink() {
        return link;
    }

    /**
     * @param link the link to set
     */
    public void setLink(String link) {
        this.link = link;
    }

    /**
     * @return the source
     */
    public String getSource() {
        return source;
    }

    /**
     * @param source the source to set
     */
    public void setSource(String source) {
        this.source = source;
    }

    /**
     * @return the sourceUrl
     */
    public String getSourceUrl() {
        return sourceUrl;
    }

    /**
     * @param sourceUrl the sourceUrl to set
     */
    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }
    
    
    
}
